package com.cq.oa.domain.sm;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import oa.base.hibernate.BaseClass;
@Entity
@Table(name = "sm_res")
public class Res extends BaseClass implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -2327295403542780049L;
	
	
	@Column(name = "ORDER_BY")
	private Long orderBy;
	
	@Column(name = "CNAME")
	private String cname;
	
	@Column(name = "LINK")
	private String link;
	
	@Column(name = "PID")
	private Long pid;
	
	@Column(name = "MSG")
	private String msg;
	
	@Column(name = "IS_LEAF")
	private Integer isLeaf;
	
	@Column(name = "CODE")
	private String code;

	

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Long getOrderBy() {
		return orderBy;
	}

	public void setOrderBy(Long orderBy) {
		this.orderBy = orderBy;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public Long getPid() {
		return pid;
	}

	public void setPid(Long pid) {
		this.pid = pid;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Integer getIsLeaf() {
		return isLeaf;
	}

	public void setIsLeaf(Integer isLeaf) {
		this.isLeaf = isLeaf;
	}
	
	
	
}
